package com.rizzo.back.dao;

import com.rizzo.back.domain.BlogEntry;
import com.rizzo.back.domain.BlogUser;
import com.rizzo.back.util.search.SearchDataObject;
import org.apache.lucene.queryParser.ParseException;

import java.io.IOException;
import java.util.List;

/**
 * TODO Insert JavaDoc!
 */
public interface BlogEntryDao extends SearchableDao<BlogEntry, Long> {

    /**
     * TODO Method getSearchBlogEntriesForBlogUser ...
     *
     * @param searchDataObject of type SearchDataObject
     * @param blogUser of type BlogUser
     * @return List<BlogEntry>
     * @throws ClassNotFoundException when
     * @throws ParseException when
     * @throws InstantiationException when
     * @throws IllegalAccessException when
     */
    public List<BlogEntry> getSearchBlogEntriesForBlogUser(SearchDataObject searchDataObject, BlogUser blogUser) throws ClassNotFoundException, ParseException, InstantiationException, IllegalAccessException, IOException;

}
